package cn.iocoder.yudao.module.lfd.convert.schedule;

import java.util.*;

import cn.iocoder.yudao.framework.common.pojo.PageResult;

import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;
import cn.iocoder.yudao.module.lfd.controller.admin.schedule.vo.*;
import cn.iocoder.yudao.module.lfd.dal.dataobject.schedule.ScheduleDO;

/**
 * 排班 Convert
 *
 * @author 陈星星
 */
@Mapper
public interface ScheduleConvert {

    ScheduleConvert INSTANCE = Mappers.getMapper(ScheduleConvert.class);

    ScheduleDO convert(ScheduleCreateReqVO bean);

    ScheduleDO convert(ScheduleUpdateReqVO bean);

    ScheduleRespVO convert(ScheduleDO bean);

    List<ScheduleRespVO> convertList(List<ScheduleDO> list);

    PageResult<ScheduleRespVO> convertPage(PageResult<ScheduleDO> page);

    List<ScheduleExcelVO> convertList02(List<ScheduleDO> list);

}
